package Day03_运算符_Scanner;

//1、导包

import java.util.Scanner;

public class demo_键盘录入 {

    public static void main(String[] args) {

        //2、创建对象
        Scanner sc = new Scanner(System.in);

        //3、调用sc.nextInt();
        System.out.println("请输入一个数字:"); //提示
        int x = sc.nextInt();
        System.out.println("用户输入:" + x);

        //*****************************************************

    }
}
